package sjp.learn.designpattern.factory.factorymethod;

import sjp.learn.designpattern.factory.simplefactory.ICourse;

public class FactoryMethodTest {

    public static void main(String[] args) {
        ICourseFactory courseFactory = new JavaCourseFactory();
        ICourse course = courseFactory.create();
        course.record();
    }
}
